package org.example.model.activity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * 用户活动订阅表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("activity_sub")
public class ActivitySub {
    @TableId(value = "activity_sub_id",type = IdType.AUTO)
    private Integer pkId;//用户活动订阅id
    private Integer activityId;
    private Integer userId;
    private Date subscriptionTime;
    private Integer subscribed;//是否取消，0为取消，1为订阅
}
